package morning.cat.springdatademo.mongo.repository;

import morning.cat.springdatademo.entity.Student;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @describe: 类描述信息
 * @author: morningcat.zhang
 * @date: 2019/2/18 5:09 PM
 */
public interface StudentRepository extends MongoRepository<Student, String> {
    Student findBySid(String code);
}
